<!doctype html>
<html xmlns:th="http://www.thymeleaf.org" lang="en" class="no-js" >
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>仓库管理系统</title>

    <script src="../../static/vanilla-cream-css/js/libs/jquery-1.10.0.js" th:src = "@{/vanilla-cream-css/js/libs/jquery-1.10.0.js}"></script>
    <script src="../../static/layui/layui.js" th:src="@{/layui/layui.js}"></script>
    <script src="../../static/vanilla-cream-css/js/libs/bootstrap.min.js" th:src="@{/vanilla-cream-css/js/libs/bootstrap.min.js}"></script>
    <link href="../../static/vanilla-cream-css/css/bootstrap.css" rel="stylesheet" th:href="@{/vanilla-cream-css/css/bootstrap.css}"/>
    <link href="../../static/layui/css/layui.css" rel="stylesheet" th:href="@{/layui/css/layui.css}"/>

    <!--
    <link rel="stylesheet" href="../../static/vanilla-cream-css/css/bootstrap.css" th:href="@{/vanilla-cream-css/css/bootstrap.css}" />
    <link rel="stylesheet" href="../../static/vanilla-cream-css/style.css" th:href="@{/vanilla-cream-css/style.css}"  />
    <script src="../../static/vanilla-cream-css/js/jquery.customInput.js"  th:src="@{/vanilla-cream-css/js/jquery.customInput.js}"></script>
    <script type="text/javascript" src="../../static/vanilla-cream-css/js/custom.js" th:src="@{/vanilla-cream-css/js/custom.js}"></script>

    <script src="../../static/vanilla-cream-css/js/general.js" th:src="@{/vanilla-cream-css/js/general.js}"></script>
    -->
</head>
<script th:inline="javascript">
    function now() {
        var now = new Date();
        var year = now.getFullYear();
        var month = now.getMonth();
        var date = now.getDate();
        var time = year+"-"+month+"-"+date;
        document.getElementById("b_date").value = time;
        month ++;
        var time = year+"-"+month+"-"+date;
        document.getElementById("e_date").value = time;

        return time;

    }
</script>
<body class="layui-layout-body" onload="now()">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">查询统计</div>
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="/product/index">产品管理</a></li>
            <li class="layui-nav-item"><a href="">库存管理</a></li>
            <li class="layui-nav-item"><a href="/query/">查询统计</a></li>
            <li class="layui-nav-item"><a href="/admin/user/proPage">个人信息</a></li>
        </ul>
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item"><a href="/query/data">统计数据</a></li>
                <li class="layui-nav-item"><a href="/query/detail/exist">查询库存</a></li>
                <li class="layui-nav-item"><a href="/query/detail/in">查询生产</a></li>
                <li class="layui-nav-item"><a href="/query/detail/out">查询销售</a></li>
                <li class="layui-nav-item"><a href="/query/detail/disposal">查询销毁</a></li>
                <li class="layui-nav-item"><a href="/query/detail/outDate">查询过期</a></li>
            </ul>
        </div>
    </div>
    <div class="layui-body">

        <div style="padding: 15px;">

            <br>
            <br>
            <br>
            <h2 style="font-family:华文行楷,serif;color:#54AAF5; text-align: center">填入信息</h2>
            <!-- login widget -->
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-body">
                        <form action="/query/data" method="post">
                            <div class="form-group">
                                <label style="font-family:黑体,serif;color:#54AAF5;font-weight: lighter;font-size: medium"> 产品ID </label>

                                <input type="text" name="id" id="id" value="000000" placeholder="产品ID" class="form-control"/>
                            </div>
                            <div class="form-group">
                                <label style="font-family:黑体,serif;color:#54AAF5;font-weight: lighter;font-size: medium"> 类型ID </label>

                                <input type="text" name="type_id" id="type_id" value="000" placeholder="类别ID" class="form-control" />
                            </div>
                            <div class="form-group">
                                <label style="font-family:黑体,serif;color:#54AAF5;font-weight: lighter;font-size: medium"> 日期区间 </label>

                                <input type="text" name="b_date" id="b_date" value="2019-12-00" placeholder="开始日期" class="form-control" />
                            </div>
                            <div class="form-group">
                                <input type="text" name="e_date" id="e_date" value="2020-01-00" placeholder="结束日期" class="form-control" />
                            </div>
                            <br>

                            <div class="form-group">
                                <div class="checkbox-inline col-sm-offset-1"><input name="p" type="checkbox" id="p" value="p"><label for="p">生产量 </label></div>
                                <div class="checkbox-inline"><input name="c" type="checkbox" id="c" value="c"><label for="c">销售量 </label></div>
                                <div class="checkbox-inline"><input name="i" type="checkbox" id="i" value="i"><label for="i">库存量 </label></div>
                                <div class="checkbox-inline"><input name="d" type="checkbox" id="d" value="d"><label for="d">销毁量 </label></div>
                                <div class="checkbox-inline"><input name="t" type="checkbox" id="t" value="t"><label for="t">销售额 </label></div>
                                <div class="checkbox-inline"><input name="o" type="checkbox" id="o" value="o"><label for="o">已过期 </label></div>
                            </div>
                            <br>
                            <div class="form-group">
                                <span><input type="submit" name="submit" id="submit" value="查询" class="form-control"/></span>
                            </div>
                        </form>

                    </div>

                </div>
            </div>
        </div>


    </div>

</div>


</body>
</html>